/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package shoppos;


import java.math.BigDecimal;
/**
 *
 * @author Amin Ali
 */
public class OrderItem {
    private int UPC;
    private BigDecimal SellingPrice;
    private int AvailableQuantity;
    private String ItemName;
    private float TaxPercentage;
    private int quantity;
    private Discount discount;

    public OrderItem(int UPC, BigDecimal SellingPrice, int AvailableQuantity, String ItemName, float TaxPercentage, int quantity, Discount discount) {
        this.UPC = UPC;
        this.SellingPrice = SellingPrice;
        this.AvailableQuantity = AvailableQuantity;
        this.ItemName = ItemName;
        this.TaxPercentage = TaxPercentage;
        this.quantity = quantity;
        this.discount = discount;
    }

    

    public int getAvailableQuantity() {
        return AvailableQuantity;
    }

    public void setAvailableQuantity(int AvailableQuantity) {
        this.AvailableQuantity = AvailableQuantity;
    }

    public String getItemName() {
        return ItemName;
    }

    public void setItemName(String ItemName) {
        this.ItemName = ItemName;
    }

    public BigDecimal getSellingPrice() {
        return SellingPrice;
    }

    public void setSellingPrice(BigDecimal SellingPrice) {
        this.SellingPrice = SellingPrice;
    }

    public float getTaxPercentage() {
        return TaxPercentage;
    }

    public void setTaxPercentage(float TaxPercentage) {
        this.TaxPercentage = TaxPercentage;
    }

    public int getUPC() {
        return UPC;
    }

    public void setUPC(int UPC) {
        this.UPC = UPC;
    }

    /**
     * @return the quantity
     */
    public int getQuantity() {
        return quantity;
    }

    /**
     * @param quantity the quantity to set
     */
    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    /**
     * @return the discount
     */
    public Discount getDiscount() {
        return discount;
    }

    /**
     * @param discount the discount to set
     */
    public void setDiscount(Discount discount) {
        this.discount = discount;
    }



}
